package com.xhorse.lockplatform.model;

import com.xhorse.lockplatform.comm.model.BaseId;

import java.util.Date;

public class XhData extends BaseId{
    private Integer fileId;

    private String md5Bin;

    private String md5Hex;

    private Integer regionId;

    private String version;

    private Date createAt;

    private Date updateAt;

    private String binUrl;

    private String hexUrl;
    

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getMd5Bin() {
        return md5Bin;
    }

    public void setMd5Bin(String md5Bin) {
        this.md5Bin = md5Bin == null ? null : md5Bin.trim();
    }

    public String getMd5Hex() {
        return md5Hex;
    }

    public void setMd5Hex(String md5Hex) {
        this.md5Hex = md5Hex == null ? null : md5Hex.trim();
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getBinUrl() {
        return binUrl;
    }

    public void setBinUrl(String binUrl) {
        this.binUrl = binUrl == null ? null : binUrl.trim();
    }

    public String getHexUrl() {
        return hexUrl;
    }

    public void setHexUrl(String hexUrl) {
        this.hexUrl = hexUrl == null ? null : hexUrl.trim();
    }

	@Override
	public String toString() {
		return "XhData [fileId=" + fileId + ", md5Bin=" + md5Bin + ", md5Hex="
				+ md5Hex + ", regionId=" + regionId + ", version=" + version
				+ ", createAt=" + createAt + ", updateAt=" + updateAt
				+ ", binUrl=" + binUrl + ", hexUrl=" + hexUrl + "]";
	}
    
    
}